package chapter_2;

import java.util.Scanner;

public class Test4 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的密码：");
        String password = scanner.nextLine();
        if(password.equals("111111")){
            System.out.println("密码正确，登录成功");
        }else{
            System.out.println("密码错误，请重新登录");
        }
    }
}
